package com.ml.mall.bean.res.company;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 *   @description    :description 
 *   @author         :zxm
 *   @date           :2021/5/14
 *   @version        :1.0
**/
@ApiModel(value = "公司配送对象")
@Data
public class CompanyLogisticsInfoRes {
    @ApiModelProperty(value = "公司配送主键id",example = "1")
    private Long id;
    @ApiModelProperty(value = "运费")
    private BigDecimal deliveryCharge;
    @ApiModelProperty(value = "起购金额")
    private BigDecimal deliveryMoq;
    @ApiModelProperty(value = "配送时间开始")
    @DateTimeFormat(pattern = "HH:mm:ss")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private Date deliveryTimeFrom;
    @ApiModelProperty(value = "配送时间结束")
    @DateTimeFormat(pattern = "HH:mm:ss")
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private Date deliveryTimeTo;
    @ApiModelProperty(value = "状态",example = "1")
    private Integer state;
}
